TUTOR\Utils D

Total Complexity 597
Dependencies 5
Dependents 2
Total lines 5,973
Lines of code 3,268
Logical lines of code 1,576
Comment lines 1,837
Methods 222
Properties 0

Methods 222

Method Rating Maintainability Complexity Lines of code
get_course_id_by()
A
43 12 53
get_earning_statements()
A
42 12 50
get_course_completed_percent()
A
50 10 28
get_video_info()
A
46 9 36
get_course_previous_content_id()
A
49 9 30
get_assignments_by_instructor()
A
43 7 53
languages()
A
29 1 140
get_attachments()
A
44 7 46
has_video_in_single()
A
57 9 15
get_withdrawals_history()
A
45 7 42
get_option()
A
52 8 25
get_earning_sum()
S
45 6 43
get_random_questions_by_quiz()
S
51 7 26
get_qa_questions()
S
42 5 53
do_enroll()
S
46 6 38
user_profile_completion()
S
47 6 35
get_ip()
S
57 7 18
has_enrolled_content_access()
S
57 7 16
tutor_dashboard_nav_ui_items()
S
59 7 14
get_course_first_lesson()
S
52 6 25
get_course_prev_next_contents_by_id()
S
52 6 24
get_raw_course_price()
S
55 6 19
let_to_num()
S
57 6 18
is_course_added_to_cart()
S
58 6 15
complete_course_enroll()
S
58 6 15
get_total_qa_question()
S
49 5 30
get_quiz_attempt()
S
51 5 27
cancel_course_enrol()
S
52 5 24
star_rating_generator()
S
54 5 21
is_instructor_of_this_course()
S
57 5 18
get_tutor_avatar()
S
54 5 18
get_course_rating()
S
42 2 62
get_course_price()
S
57 5 17
avalue_dot()
S
58 5 16
get_lesson_type_icon()
S
58 5 16
sanitize_array()
S
59 5 15
can_user_manage()
S
59 5 14
get_quiz_option()
S
61 5 12
currency_symbol()
S
61 5 12
playtime_array()
S
54 4 22
get_instructors()
S
53 4 20
tutor_dashboard_pages()
S
47 3 33
get_quiz_answers_by_ids()
S
57 4 17
get_answers_by_quiz_question()
S
57 4 16
get_completed_lesson_count_by_course()
S
56 4 16
get_course_by_quiz()
S
58 4 16
get_rating_value()
S
58 4 16
get_orders_by_user_id()
S
51 3 30
get_course_enrolled_ids_by_order_id()
S
59 4 13
tutor_pages()
S
50 3 28
get_assignment_option()
S
61 4 12
get_reviews_by_instructor()
S
47 2 38
is_completed_course()
S
55 3 22
get_instructors_by_course()
S
56 3 19
get_db_version()
S
57 3 18
get_top_question()
S
49 2 33
most_rated_courses()
S
58 3 17
course_progress_status_context()
S
57 3 17
get_quiz_answer_options_by_question()
S
58 3 16
course_levels()
S
58 3 16
instructor_status()
S
57 3 16
profile_url()
S
58 3 15
seconds_to_time_context()
S
63 4 8
get_enrolments()
S
52 2 30
get_flash_msg()
S
58 3 15
get_pages()
S
64 4 10
playtime_string()
S
63 4 8
checking_nonce()
S
69 4 5
user_profile_permalinks()
S
59 3 14
set_flash_msg()
S
58 3 14
is_enrolled()
S
60 3 13
has_lesson_edit_access()
S
62 3 12
get_assignment_deadline_date()
S
60 3 12
has_any_enrolled()
S
61 3 12
get_course_by_enrol_id()
S
62 3 11
is_course_purchasable()
S
63 3 11
get_course_id_by_lesson()
S
63 3 11
get_youtube_video_id()
S
63 3 11
get_enrolment_by_enrol_id()
S
55 2 25
get_qa_answer_by_answer_id()
S
55 2 24
get_courses_by_instructor()
S
52 2 23
get_course_rating_by_user()
S
53 2 23
get_instructor_ratings()
S
54 2 22
get_quiz_attempts_by_course_ids()
S
55 2 19
get_rating_by_id()
S
56 2 19
get_question_types()
S
54 2 18
get_active_courses_by_user()
S
57 2 17
get_total_quiz_attempts_by_course_ids()
S
56 2 17
get_enrolled_courses_by_user()
S
58 2 16
get_courses()
S
57 2 16
get_quiz_attempts()
S
58 2 16
get_courses_by_user()
S
59 2 15
count()
S
71 3 6
get_all_quiz_attempts_by_user()
S
64 3 9
quiz_attempts()
S
63 3 10
tutor_price()
S
65 3 9
get_attached_quiz()
S
64 3 9
update_video()
S
70 3 6
quiz_ended_attempts()
S
63 3 10
get_questions_by_quiz()
S
64 3 9
array_only()
S
70 3 6
get_addon_config()
S
64 3 10
tutor_user_social_icons()
S
51 1 30
update_lesson_reading_info()
S
64 3 9
input_old()
S
65 3 10
get_tutor_dashboard_page_permalink()
S
65 3 9
get_post_id()
S
67 3 9
get_user_id()
S
67 3 9
get_vimeo_video_id()
S
67 3 8
get_cover_photo_url()
S
64 3 9
course_archive_page_url()
S
65 3 9
get_answer_by_id()
S
59 2 14
get_total_quiz_attempts()
S
59 2 14
get_students()
S
58 2 14
get_course_categories()
S
59 2 14
get_assignments_by_course()
S
60 2 13
get_lesson_count_by_course()
S
59 2 13
get_total_enrolments()
S
60 2 13
add_instructor_role()
S
61 2 12
get_qa_question()
S
52 1 26
remove_instructor_role()
S
62 2 11
get_video_stream_url()
S
62 2 11
get_qa_answer_by_question()
S
53 1 25
get_announcements()
S
56 1 23
get_course_reviews()
S
54 1 22
get_reviews_by_user()
S
54 1 22
get_lesson()
S
57 1 18
tutor_get_screen_ids()
S
58 1 18
unanswered_question_count()
S
58 1 17
course_enrol_status_change()
S
65 2 9
is_wishlisted()
S
63 2 10
is_script_debug()
S
79 2 3
get_single_comment_user_post_id()
S
66 2 8
instructor_register_url()
S
69 2 7
reset_password()
S
64 2 8
get_student_emails_by_course_id()
S
60 1 15
get_total_instructors()
S
63 2 9
str_split()
S
65 2 9
get_tutor_user()
S
60 1 15
get_video()
S
67 2 8
student_register_url()
S
69 2 7
get_quiz_question_by_id()
S
66 2 8
get_total_students()
S
63 2 9
course_edit_link()
S
66 2 8
get_user_withdraw_method()
S
67 2 8
is_html5_video()
S
65 2 9
get_current_url()
S
64 2 10
announcement_content()
S
64 2 10
quiz_update_attempt_info()
S
64 2 8
get_attempt()
S
66 2 8
is_completed_lesson()
S
65 2 9
max_questions_for_take_quiz()
S
63 2 10
most_popular_courses()
S
61 1 14
get_enrolled_statuses()
S
62 1 14
get_total_students_by_instructor()
S
62 1 13
get_course_contents_by_topic()
S
60 1 13
get_lessons_by_topic()
S
61 1 13
get_wishlist()
S
60 1 13
get_topics()
S
62 1 12
get_courses_for_instructors()
S
63 1 11
is_assignment_submitting()
S
63 1 11
get_assigned_courses_ids_by_instructors()
S
67 1 7
referer()
S
75 1 4
get_assignments()
S
72 1 5
get_course_categories_term()
S
65 1 9
mark_lesson_complete()
S
68 1 7
get_archive_page_course_count()
S
77 1 4
get_course_count_by_instructor()
S
65 1 9
get_course_settings()
S
69 1 6
get_item_content_drip_settings()
S
69 1 6
get_course_id_by_content()
S
69 1 6
get_total_assignments()
S
72 1 5
get_gradebooks()
S
72 1 5
print_view()
S
74 1 5
has_bp()
S
71 1 5
has_wcs()
S
71 1 5
has_pmpro()
S
71 1 5
has_edd()
S
69 1 6
has_wc()
S
80 1 3
get_user_by_login()
S
69 1 6
array_get()
S
79 1 3
get_course_contents_by_id()
S
66 1 8
get_quiz_answers_by_attempt_id()
S
67 1 8
get_assignment_submit_info()
S
69 1 6
is_instructor()
S
75 1 4
get_optimized_duration()
S
82 1 3
update_option()
S
72 1 5
count_reviews_wrote_by_user()
S
70 1 6
get_completed_courses_ids_by_user()
S
64 1 10
get_enrolled_courses_ids_by_user()
S
69 1 6
count_enrolled_users_by_course()
S
65 1 9
get_lesson_reading_info_full()
S
69 1 6
tutor_dashboard_permalinks()
S
66 1 8
quiz_next_question_id()
S
71 1 5
tutor_student_dashboard_pages()
S
75 1 4
is_tutor_order()
S
79 1 3
product_belongs_with_course()
S
71 1 5
get_course_product_id()
S
72 1 5
get_edd_products()
S
72 1 5
get_wc_products_db()
S
72 1 5
get_lesson_reading_info()
S
70 1 6
quiz_next_question_order_id()
S
71 1 5
get_quiz_id_by_question()
S
71 1 5
is_assignment_submitted()
S
67 1 7
tutor_social_share_icons()
S
64 1 9
get_course_count()
S
69 1 6
get_course_id_by_assignment()
S
75 1 4
order_status_context()
S
71 1 5
get_lesson_count()
S
69 1 6
get_next_topic_order_id()
S
71 1 5
get_next_course_content_order_id()
S
71 1 5
get_earnings_completed_statuses()
S
67 1 10
dashboard_page_id()
S
73 1 5
course_sub_pages()
S
68 1 7
tutor_dashboard_url()
S
71 1 5
price_type()
S
72 1 5
is_course_enrolled_by_lesson()
S
70 1 6
get_random_question_by_quiz()
S
66 1 8
quiz_attempt_info()
S
80 1 3
is_started_quiz()
S
67 1 7
total_questions_for_student_by_quiz()
S
67 1 7
help_tip()
S
80 1 3